-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add JetStream metadata to msg parsed from reply string #139
Conversation
Thank you @simonhoss great to see this because it's implementing a missing feature in JetStream. My initial thoughts are:
|
Thanks for the feedback. When I started the implementation I didn't realize that there are two msg's in ( What do you think? |
Brilliant! Is there a way we can retrieve the new properties on NatsJSMsg without storing them on NatsMsg? Because NatsMsg is a struct it means every message needs to be copied so we want to keep it as small as possible 😉 BTW @simonhoss please sign your commits |
I added a new approach, which doesn't touch the Also my commits are now verified for this project 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 just needs a couple of changes to complete the implementation.
New version pushed. I think it should now parse both versions correct. Also, Im not quite sure if struct makes sense for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you for the contribution @simonhoss 🥇
Also @simonhoss please feel free to join https://slack.nats.io |
Thanks a lot! |
Hey
This PR adds the sequence and DateTime info to the msg.
Any feedback is appreciated.